package com.lmh.dao;

import com.lmh.pojo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LoginMapper {


    int addregedit(User user);

    int addinfo(Userinfo userinfo);

    User login(@Param("email") String email,@Param("password") String password);

    List<Userinfo> edan(@Param("email") String email,@Param("userName") String userName);

    Userinfo infoall(@Param("userId") String userId);

    List<Provines> address();

    int updatepw(User u);

    List<Cities> citiesquan(String provinceid);

    List<Areas> arasquan(String cityid);

    int updateinfo(Userinfo userinfo);

    Userinfo userinfoid(String userId);
}
